load("@build_bazel_rules_swift//swift:swift.bzl", "swift_library")

swift_library(
    name = "StatisticsUI",
    module_name = "StatisticsUI",
    srcs = glob([
		"Sources/**/*.swift",
    ]),
    copts = [
        "-warnings-as-errors",
    ],
    deps = [
        "//submodules/SSignalKit/SwiftSignalKit",
        "//submodules/AsyncDisplayKit",
        "//submodules/Display",
        "//submodules/ComponentFlow",
        "//submodules/Postbox",
        "//submodules/TelegramCore",
        "//submodules/TelegramPresentationData",
        "//submodules/TelegramUIPreferences",
        "//submodules/AccountContext",
        "//submodules/ItemListUI",
        "//submodules/AvatarNode",
        "//submodules/TelegramStringFormatting",
        "//submodules/AlertUI",
        "//submodules/PresentationDataUtils",
        "//submodules/MergeLists",
        "//submodules/PhotoResources",
        "//submodules/GraphCore",
        "//submodules/GraphUI",
        "//submodules/AnimatedStickerNode",
        "//submodules/TelegramAnimatedStickerNode",
        "//submodules/ItemListPeerItem",
        "//submodules/ItemListPeerActionItem",
        "//submodules/ContextUI",
        "//submodules/PremiumUI",
        "//submodules/InviteLinksUI",
        "//submodules/ShareController",
        "//submodules/TextFormat",
        "//submodules/TelegramUI/Components/Stories/AvatarStoryIndicatorComponent",
        "//submodules/TelegramUI/Components/Stories/StoryContainerScreen",
        "//submodules/TelegramUI/Components/Settings/BoostLevelIconComponent",
        "//submodules/TelegramUI/Components/PlainButtonComponent",
        "//submodules/TelegramUI/Components/EmojiTextAttachmentView",
        "//submodules/Components/SheetComponent",
        "//submodules/Components/BundleIconComponent",
        "//submodules/Components/MultilineTextComponent",
        "//submodules/Components/MultilineTextWithEntitiesComponent",
        "//submodules/TelegramNotices",
        "//submodules/UIKitRuntimeUtils",
        "//submodules/PasswordSetupUI",
        "//submodules/TelegramUI/Components/PeerManagement/OwnershipTransferController",
        "//submodules/TelegramUI/Components/ListItemComponentAdaptor",
        "//submodules/TelegramUI/Components/Stars/StarsWithdrawalScreen",
        "//submodules/TelegramUI/Components/ButtonComponent",
        "//submodules/TelegramUI/Components/ListActionItemComponent",
        "//submodules/TelegramUI/Components/Stars/StarsAvatarComponent",
        "//submodules/TelegramUI/Components/PremiumPeerShortcutComponent",
    ],
    visibility = [
        "//visibility:public",
    ],
)
